#ifndef INT_IC_H__
#define INT_IC_H__

#include <STC89C5xRC.H>
#include "Int_RC522.h"

void IC_Init(void);

bool Read_IC_Card(unsigned char *DesUid);

bool Cmp_IC_Card(unsigned char *DesUid,unsigned char *SrcUid);

void IC_Card_Run(void);

void IC_Card_Read(void);

unsigned char IC_ReadData(unsigned char startBlock, unsigned char blockCount, unsigned char *recvData, unsigned char *key, unsigned char *serNum);

unsigned char IC_WriteData(unsigned char startBlock, unsigned char blockCount, unsigned char *writeData, unsigned char *key, unsigned char *serNum);

#endif

